import React, { PureComponent } from 'react'
import { clearCookie } from "@utils/cookie";

class LogoutPage extends PureComponent {
    componentDidMount() {
        clearCookie('bilin-user')
        clearCookie('bilin-brand')
        setTimeout(() => {
            window.location.replace('/login')
        }, 1000)
    }

    render () {
        return null
    }
}

export default LogoutPage